package cloud.lysky.java.on.polymorphism;

/**
 * @author luoly
 * @describe
 * @date 2022-08-18 16:59
 **/
public class Music {
    public static void tune(Instrument instrument){
        instrument.play(Note.MIDDLE_C);
    }
    public static void main(String[] args) {
        Wind flute = new Wind();
        tune(flute);
    }
}